package org.kzwl.book.conf;

import org.kzwl.service.app.impl.MinIoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;


@Component
public class WebConf {


    @Autowired
    MinIoService minIoService;


    /**
     * 初始化MinIO
     */
    @PostConstruct
    public void initMinIoService()
    {
        minIoService.init();
    }
}
